<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        background-color: #eeece5;
        padding: 50vh 0;
        text-align: center;
        font-size: 2.5em;
      }
      h1 {
        background: linear-gradient(red 50%, #0000 50%) center center / 100vw
          100vh fixed;
        /* height: 100vh; */
        color: transparent;
        /* 背景填充在文字上 */
        background-clip: text;
        -webkit-background-clip: text;
        /* 添加文字描边 */
        -webkit-text-stroke: 2px red;
      }
    </style>
  </head>
  <body>
    <h1>Parallel Background</h1>
  </body>
</html>
